package com.ruoyi.project.system.vehiclestationinfo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 ve_vehiclestationinfo
 * 
 * @author ruoyi
 * @date 2024-01-06
 */
public class VeVehiclestationinfoVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆驻地ID */
    private Long VehicleStationID;

    /** 车辆ID */
    @Excel(name = "车辆ID")
    private Long VehicleID;

    /** 驻地ID */
    @Excel(name = "驻地ID")
    private Long StationID;

    /** 驻地日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "驻地日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date StationDate;

    /** 驻地时长 */
    @Excel(name = "驻地时长")
    private Long StationDuration;

    /** 车辆状态 */
    @Excel(name = "车辆状态")
    private Long VehicleStatus;

    public void setVehicleStationID(Long VehicleStationID)
    {
        this.VehicleStationID = VehicleStationID;
    }

    public Long getVehicleStationID()
    {
        return VehicleStationID;
    }
    public void setVehicleID(Long VehicleID)
    {
        this.VehicleID = VehicleID;
    }

    public Long getVehicleID()
    {
        return VehicleID;
    }
    public void setStationID(Long StationID)
    {
        this.StationID = StationID;
    }

    public Long getStationID()
    {
        return StationID;
    }
    public void setStationDate(Date StationDate)
    {
        this.StationDate = StationDate;
    }

    public Date getStationDate()
    {
        return StationDate;
    }
    public void setStationDuration(Long StationDuration)
    {
        this.StationDuration = StationDuration;
    }

    public Long getStationDuration()
    {
        return StationDuration;
    }
    public void setVehicleStatus(Long VehicleStatus)
    {
        this.VehicleStatus = VehicleStatus;
    }

    public Long getVehicleStatus()
    {
        return VehicleStatus;
    }

    private String cname;
    private String sname;

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("VehicleStationID", getVehicleStationID())
            .append("VehicleID", getVehicleID())
            .append("StationID", getStationID())
            .append("StationDate", getStationDate())
            .append("StationDuration", getStationDuration())
            .append("VehicleStatus", getVehicleStatus())
            .toString();
    }
}
